# 1.ZeroDivisionError
# print(2 / 0)

# 2.IndexError
# data_list = ['a', 'b', 'c']
# print(data_list[10])

# 3.KeyError
# data_dict = {"username":"admin","password":"12345"}
# print(data_dict['haha'])

# 4.NameError
# def show():
#     print(username)

# show()

# 5.TypeError
# print(ord(97))

# 6.ValueError
print(int('a', 2))
